package com.gopay.common.domain.bank.foundation;

import java.io.Serializable;

import com.gopay.common.cipher.utils.LoggerMaskUtils;

/**
 * 
 * @author lizheng
 *
 */
public class IdentityInfoMessage implements Serializable {
    
    /**
     * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
     */
    private static final long serialVersionUID = 1L;
    // 证件类型
	protected String identityType;
	// 证件号
	protected String identityCode;
	// 持卡人姓名
	protected String cardHolder;
	//手机号
	protected String mobileNumber;
	//银行卡号
	protected String bankCardNo;
	//渠道标示
	protected String channelMak;
	// 是否直连认证标志
	protected boolean directFlag=false;

	//add by songfengli 20180312 区分国政通是实名认证，还是账户升级(默认为是实名认证)
	public boolean isIdentity = true;

	public String getIdentityType() {
		return identityType;
	}

	public void setIdentityType(String identityType) {
		this.identityType = identityType;
	}

	public String getIdentityCode() {
		return identityCode;
	}

	public void setIdentityCode(String identityCode) {
		this.identityCode = identityCode;
	}

	public String getCardHolder() {
		return cardHolder;
	}

	public void setCardHolder(String cardHolder) {
		this.cardHolder = cardHolder;
	}

	public boolean isDirectFlag() {
		return directFlag;
	}

	public void setDirectFlag(boolean directFlag) {
		this.directFlag = directFlag;
	}

    public String getMobileNumber() {
        return mobileNumber;
    }

    public void setMobileNumber(String mobileNumber) {
        this.mobileNumber = mobileNumber;
    }

    public String getBankCardNo() {
        return bankCardNo;
    }

    public void setBankCardNo(String bankCardNo) {
        this.bankCardNo = bankCardNo;
    }

    public String getChannelMak() {
        return channelMak;
    }

    public void setChannelMak(String channelMak) {
        this.channelMak = channelMak;
    }

	public boolean isIdentity() {
		return isIdentity;
	}

	public void setIdentity(boolean identity) {
		isIdentity = identity;
	}

	@Override
	public String toString() {
		return "IdentityInfoMessage [identityType=" + identityType + ", identityCode=" + LoggerMaskUtils.maskString(identityCode) + ", cardHolder="
				+ cardHolder + ", mobileNumber=" + LoggerMaskUtils.maskString(mobileNumber) + ", bankCardNo=" + LoggerMaskUtils.maskString(bankCardNo) + ", channelMak="
				+ channelMak + ", directFlag=" + directFlag + ", isIdentity=" + isIdentity + "]";
	}
    
    
	
}
